package com.bestsoft.flow.service.impl;

import java.util.List;
import com.bestsoft.flow.domain.FlowOrderDt;
import com.bestsoft.flow.domain.FlowOrderDt2;
import com.bestsoft.flow.mapper.FlowOrderDtMapper;

import com.bestsoft.flow.service.IFlowOrderDtService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 用户订单明细Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-08-28
 */
@Service
public class FlowOrderDtServiceImpl implements IFlowOrderDtService
{
    @Autowired
    private FlowOrderDtMapper flowOrderDtMapper;

    /**
     * 查询用户订单明细
     * 
     * @param orderId 用户订单明细主键
     * @return 用户订单明细
     */
    @Override
    public FlowOrderDt selectFlowOrderDtByOrderId(Long orderId)
    {
        return flowOrderDtMapper.selectFlowOrderDtByOrderId(orderId);
    }

    /**
     * 1查询用户订单明细列表
     * 
     * @param flowOrderDt 用户订单明细
     * @return 用户订单明细
     */
    @Override
    public List<FlowOrderDt> selectFlowOrderDtList(FlowOrderDt flowOrderDt)
    {
        return flowOrderDtMapper.selectFlowOrderDtList(flowOrderDt);
    }

    /**
     * erp查询用户订单明细列表
     *
     * @param orderId 用户订单明细
     * @return 用户订单明细
     */
    @Override
    public List<FlowOrderDt2> selectFlowOrderDtListErp(Long orderId) {
        return flowOrderDtMapper.selectFlowOrderDtListErp(orderId);
    }
}
